﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace ClipPlayer
{
    public class CLogger
    {
        public static void Write(string msg)
        {
            try
            {
                StreamWriter sw = new StreamWriter("__Log.txt", true);
                sw.WriteLine(string.Format("{0:yy-M-d HH:mm:ss}: {1}", DateTime.Now, msg.Trim()));
                sw.Flush();
                sw.Dispose();
            }
            catch { ;}
        }
    }//class
}//namespace
